include_directories(${PROJECT_SOURCE_DIR}/include)

find_package(fmt REQUIRED)

add_library(chi SHARED
        lang/core/bytestream.cpp
        lang/core/lexer.cpp
        lang/core/tokenstream.cpp
        lang/utils/text.cpp
        empty.cpp)

target_link_libraries(chi fmt-header-only)
